package com.zqweb.gulimall.seckill.sentinel;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/sentinel")
@Slf4j
public class SentinelController {
    // Sentinel的测试Controller
    @GetMapping("/flowlimit/test1")
    public String flowLimitTest1(){
        log.info("成功调用流控测试方法1...");
        return "流控测试方法1调用成功！";
    }


}
